package api

import request "gitee.com/changeden/volcengine-livesaas-request-go"

type GetRealTimeOnlineNumberRequest struct {
	ActivityId *int64 `json:"ActivityId"`
}
type GetRealTimeOnlineNumberResponse struct {
	RealPopularity int32 `json:"RealPopularity"`
	FakePopularity int32 `json:"FakePopularity"`
}

func (instance *Instance) GetRealTimeOnlineNumber(data *GetRealTimeOnlineNumberRequest) (*GetRealTimeOnlineNumberResponse, error) {
	d := request.Data{
		Action: "GetRealTimeOnlineNumberAPI",
	}
	bindQuery(&d, *data)
	var res GetRealTimeOnlineNumberResponse
	err := instance.get(&d, &res)
	return &res, err
}
